package com.chenbei.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.chenbei.system.domain.SysPost;
import com.chenbei.system.domain.SysUserPost;
import org.apache.ibatis.annotations.Param;

public interface SysPostMapper extends BaseMapper<SysPost> {

    /**
     * 根据用户ID查询用户与岗位关联
     * @param sysUserId 用户id
     * @return SysUserPost
     */
    SysPost getBySysUserId(@Param("sysUserId") Long sysUserId);
}
